package com.luoyuanxiangvip.common.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author: luoyuanxiang
 * @className: CheckedException
 * @packageName: com.luoyuanxiangvip.common.exception
 * @description: 自定义异常
 * @data: 2019/5/25 18:51
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class CheckedException extends RuntimeException {
    private static final long serialVersionUID = 6617011615748136829L;

    private String msg;

    public CheckedException(String msg) {
        super(msg);
        this.msg = msg;
    }
}
